package com.tang.filecenter.properties;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ApiModel("Ftp配置")
@Data
@ConfigurationProperties(prefix = "ftp")
public class FtpProperties {
    @ApiModelProperty(name = "地址")
    private String host;

    @ApiModelProperty(name = "端口")
    private int port;

    @ApiModelProperty(name = "用户名")
    private String username;

    @ApiModelProperty(name = "密码")
    private String password;

    @ApiModelProperty(name = "图库路径")
    private String galleryPath;
}
